package com.zhangdi.demo.jdbc;

//import com.zhangdi.demo.aop.CheckUser;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/rest")
public class TestController {

//    @CheckUser
    @GetMapping("test")
    public String test(SimpleRequest request){
        return "success";
    }
}
